#p 123
RPGBOY.call_message_box("服务器维护中!\r\n结束时间已群通知为准","公告:")
exit
p $ver
if $ver == 2.0
  RPGBOY.call_message_box("2.1版本更新,有兴趣可以来群里下载!\r\nQQ群:167266564","公告:")
elsif $ver==2.1
  p $ver
else
  RPGBOY.call_message_box("旧版本停用!\r\n游戏更新QQ群:167266564","公告:")
  exit
end

  def getnumber
    win32 = Win32API.new('kernel32','GetVolumeInformation','ppLppppL','L')
    buffer = "\0" * 4
    win32.call("C:\\", 0,0,buffer,0,0,0,0)
    buffer.unpack('L')[0]
  end
    mycpu = Win32API.new('system\rmpt.dll','getcpu','v','p')
    slds = Win32API.new('system\rmpt.dll','shiliutoshi','p','i')
    zwbth = Win32API.new('system\rmpt.dll','zwbth','ppp','p')
    $intcpu = slds.call(mycpu.call())
    $intcpan = getnumber()
    $myid = ($intcpu + $intcpan)/2008


#测试